package cn.tedu.egmybatis3.mapper;

import cn.tedu.egmybatis3.pojo.entity.Product;
import cn.tedu.egmybatis3.pojo.vo.ProductVO1;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface ProductMapper {
    int insertProduct(Product product);
    ProductVO1 selectSingleProductVO1ById(Integer id);
    int deleteById(Integer id);
    int deleteList(ArrayList<Long> ids);
    int updateById(Product product);
    int selectCount();
}
